package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppQianDaoRecordDao;
import com.vf.admin.client.service.AppQianDaoRecordService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppQianDaoRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AppQianDaoRecordServiceImpl.java
 * @Description TODO
 * @createTime 2021年07月23日 19:04:00
 */
@Service
public class AppQianDaoRecordServiceImpl implements AppQianDaoRecordService {

    @Autowired
    AppQianDaoRecordDao appQianDaoRecordDao;

    @Override
    public void saveOrUpdate(AppQianDaoRecord appQianDaoRecord) {
        appQianDaoRecordDao.saveOrUpdate(appQianDaoRecord);
    }

    @Override
    public List<AppQianDaoRecord> htfindList(Map<String, Object> paramap, SplitPageBean splitPageBean) {
        return appQianDaoRecordDao.htfindList(paramap,splitPageBean);
    }

    @Override
    public AppQianDaoRecord getNow(Integer userid) {
        return appQianDaoRecordDao.getNow(userid);
    }

    @Override
    public AppQianDaoRecord getYesterday(Integer userid) {
        return appQianDaoRecordDao.getYesterday(userid);
    }

    @Override
    public AppQianDaoRecord qiandaoList(Integer userId, String time,String time2) {
        return appQianDaoRecordDao.qiandaoList(userId,time,time2);
    }

    @Override
    public List<AppQianDaoRecord> list(Map<String, Object> paramap) {
        return appQianDaoRecordDao.list(paramap);
    }

    @Override
    public AppQianDaoRecord getFamilyNow(Integer userid) {
        return appQianDaoRecordDao.getFamilyNow(userid);
    }

    @Override
    public AppQianDaoRecord getFamilyYesterday(Integer userid) {
        return appQianDaoRecordDao.getFamilyYesterday(userid);
    }
}
